package com.caochenlei.proxy.dynamicProxy;

public class Client {
    public static void main(String[] args) {
        UserDao userDao = new UserDaoImpl();
        UserDao userDaoProxy = new UserDaoProxy(userDao).createUserDao();
        userDaoProxy.save();
        userDaoProxy.delete();
        userDaoProxy.update();
        userDaoProxy.find();
    }
}
